package cmd

import "github.com/urfave/cli/v2"

var (
	httpApi = true
	mysql   = true
)

var ConfigCmd = []*cli.Command{
	{
		Name:     "Config",
		Aliases:  []string{"c", "cc"},
		Usage:    "Config service",
		Category: "Config",
		Flags: []cli.Flag{
			&cli.BoolFlag{
				Name:        "httpApi",
				Aliases:     []string{"ha"},
				Usage:       "setup http web_api module",
				Value:       true,
				Destination: &httpApi,
			},
			&cli.BoolFlag{
				Name:        "mysql",
				Aliases:     []string{"ms"},
				Usage:       "setup http web_api module",
				Value:       true,
				Destination: &mysql,
			},
		},
	},
}
